All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Thread

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Thread

public class Thread
extends NativeObject
This class wraps the Objective-C class NSThread.


Constructor Index

 o Thread()
This default constructor is equivalent to Objective-C's [[NSThread alloc] init].
 o Thread(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o currentThread()
A wrapper for the + currentThread Objective-C class method.
 o detachNewThread(Selector, Object, Object)
A wrapper for the + detachNewThreadSelector:toTarget:withObject: Objective-C class method.
 o exit()
A wrapper for the + exit Objective-C class method.
 o isMultiThreaded()
A wrapper for the + isMultiThreaded Objective-C class method.
 o sleepUntilDate(Date)
A wrapper for the + sleepUntilDate: Objective-C class method.
 o threadDictionary()
A wrapper for the - threadDictionary Objective-C instance method.

Constructors

 o Thread
 protected Thread(boolean shouldAllocate,
                  int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Thread
 public Thread()
This default constructor is equivalent to Objective-C's [[NSThread alloc] init].

Methods

 o currentThread
 public static native Thread currentThread()
A wrapper for the + currentThread Objective-C class method.

 o detachNewThread
 public static native void detachNewThread(Selector selector,
                                           Object target,
                                           Object argument)
A wrapper for the + detachNewThreadSelector:toTarget:withObject: Objective-C class method.

 o isMultiThreaded
 public static native boolean isMultiThreaded()
A wrapper for the + isMultiThreaded Objective-C class method.

 o threadDictionary
 public native MutableDictionary threadDictionary()
A wrapper for the - threadDictionary Objective-C instance method.

 o sleepUntilDate
 public static native void sleepUntilDate(Date date)
A wrapper for the + sleepUntilDate: Objective-C class method.

 o exit
 public static native void exit()
A wrapper for the + exit Objective-C class method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index